package service;

import model.VO.UserLoginVO;
import model.entity.User;

public interface UserService {
    //用户登录
    UserLoginVO login(String username, String password);
    //查询数据库中是否已有username,已有返回1，无返回0
    int find(String username);
    //用户注册
    void register(User u);
}
